from django.http import HttpResponse

from . import tools
    
def hello(request):
    w=tools.WebJson(200,"成功")
    w.put("username","tom")
    w.put("passwd","12345678")
    return HttpResponse(w.toJson(), content_type='application/json')